#include <iostream>
#include <fstream>

using namespace std;

int main(int argc, char** argv)
{
	char ch[10];
	cout<<"input the char"<<endl;
	cin>>ch;
	ofstream fout;
	fout.open("data.txt",ios_base::app|ios_base::out);
	fout<<ch<<endl;
	fout.close();
	return 0;
}	
	
